package com.ly.computer.impl;

import com.ly.computer.Display;

public class AocDisplay implements Display {
    @Override
    public void show() {
        System.out.println("Aoc Display");
    }

    public AocDisplay(int id, int lifetime) {
        this.id = id;
        this.lifetime = lifetime;
    }

    public int getId() {
        return id;
    }

    public int getLifetime() {
        return lifetime;
    }

    @Override
    public String toString() {
        return "AocDisplay{" +
                "id=" + id +
                ", lifetime=" + lifetime +
                '}';
    }

    private int id;
    private int lifetime;
}
